﻿@using Vit.Common.Collections;
@model IEnumerable<SelectListItem>
@{
    ViewDataDictionary viewData = new ViewDataDictionary();
    Func<dynamic, object> itemTemplate = @<a href="/Admin/Role/Permissions/@item.Value" class="dialog">@Locale.GetString("Vit.Web.Models", "SetRolePermissions")</a>;
    viewData["ItemTemplate"] = itemTemplate;
}
@{ Html.BeginForm(null, null, FormMethod.Post, new { id = "list-form", name = "list-form" }); }
@Html.Partial("_CheckBoxList", this.Model, viewData)
@{ Html.EndForm(); }
